package top.fkxuexi.blogapi.modules.auth.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import top.fkxuexi.blogapi.modules.auth.dao.SysMenuDAO;
import top.fkxuexi.blogapi.modules.auth.entity.SysMenu;
import top.fkxuexi.blogapi.modules.auth.service.SysMenuService;

/**
* @Author blog.fkxuexi.top
* @Gitee: https://gitee.com/smartwork/
* @Descri: 菜单表
*/
@Transactional
@Service
public class SysMenuServiceImpl implements SysMenuService {

    @Autowired
    private SysMenuDAO sysMenuDAO;

    @Override
    public SysMenu get(Integer id) {
        return sysMenuDAO.get(id);
    }
}